import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import { registerMicroApps, start } from 'qiankun'
import router from './router'

const app = createApp(App)

registerMicroApps([
  {
    name: 'react',
    entry: '//localhost:8080',
    container: '#container',
    activeRule: '/app1',
  },
])
// 启动 qiankun
start()

app.use(router)

app.mount('#app')
